package controller;
import java.util.ArrayList;
import java.util.List;

public class Playlist {
	
	private List<Track> tracks = new ArrayList<Track>();
	
	public void add(Track track) {
		tracks.add(track);
	}
	
	public List<Track> getTracks() {
		return tracks;
	}
	
	public void print() {
		for (Track track : tracks) {
			System.out.println(track.getId() + " Album: " + track.getAlbum() + "  Titel: " + track.getTitle());
		}
		System.out.println();
	}
}
